﻿@*@model MvcMusicStore.Models.Genre*@
@model IEnumerable<MvcMusicStore.Models.Genre>

@{
    ViewBag.Title = "Index";
}

<h3>Browse Genres</h3>
<p>Select from @Model.Count() genres:</p>
<ul>
    @foreach (var genre in Model)
    {
        @*<li>@genre.Name</li>*@
        @*<li><a href="/Store/Browse?genre=@genre.Name">@genre.Name</a></li>*@
        <li>@Html.ActionLink(genre.Name, "Browse", new { genre=genre.Name})</li>
    }
</ul>
